package com.moss.cloud.log.service;

import com.moss.cloud.common.core.model.Result;
import com.moss.cloud.common.core.model.vo.CustomPage;
import com.moss.cloud.log.model.param.LoginLogParam;
import com.moss.cloud.log.model.po.LoginLog;
import reactor.core.publisher.Mono;


public interface ILoginLogService {
    /**
     * 保存登录日志
     * @param loginLog
     * @return
     */
    Mono<Result<?>> saveLoginLog(LoginLog loginLog);

    /**
     * 分页查询登录日志
     * @param loginLogParam
     * @return
     */
    CustomPage<LoginLog> logPage(LoginLogParam loginLogParam);
}
